import request from '@/utils/myrequest'
function getList(kvs) {
  return request({
    url: '/ams/ActionSetting/GetList',
    method: 'get',
    kvs
  })
}
function newAdd(kvs) {
  return request({
    url: '/ams/ActionSetting/Add',
    method: 'POST',
    kvs
  })
}
function doUpdate(kvs) {
  return request({
    url: '/ams/ActionSetting/Update',
    method: 'POST',
    kvs
  })
}
function doDelete(kvs) {
  return request({
    url: '/ams/ActionSetting/Delete',
    method: 'POST',
    kvs
  })
}
function getInfo(kvs) {
  return request({
    url: '/ams/ActionSetting/Get',
    method: 'get',
    kvs
  })
}

export function getHoldCodelList(kvs) {
  return request({
    url: '/ams/ActionSetting/GetHoldCodelList',
    method: 'get',
    kvs
  })
}

export default {
  getList, doDelete, newAdd, doUpdate, getInfo
}
